package com.ims.core.saleconfig.domain;

import com.ims.common.annotation.Excel;
import com.ims.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 拆分规则对象 t_sal_split
 *
 * @author IMS
 * @date 2024-05-20
 */
public class TSalSplit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 拆分规则ID */
    @Excel(name = "拆分规则ID")
    private String splitId;

    /** 客户ID */
    @Excel(name = "客户ID")
    private String custId;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String siteCode;

    /** 公司 */
    @Excel(name = "公司")
    private String siteName;

    /** 票据限额类型代码 */
    @Excel(name = "票据限额类型代码")
    private Long billType;

    /** 票据限额类型 */
    @Excel(name = "票据限额类型")
    private String billTypeName;

    /** 拆分限额代码 */
    @Excel(name = "拆分限额代码")
    private Long splitType;

    /** 拆分限额 */
    @Excel(name = "拆分限额")
    private String splitTypeName;

    /** 普票 */
    @Excel(name = "普票")
    private Long generalTicket;

    /** 专票 */
    @Excel(name = "专票")
    private Long specialTicket;

    /** 电普 */
    @Excel(name = "电普")
    private Long electricTicket;

    /** 电专 */
    @Excel(name = "电专")
    private Long engineerTicket;

    /** 限额拆分规则代码 */
    @Excel(name = "限额拆分规则代码")
    private Long splitRule;

    /** 限额拆分规则 */
    @Excel(name = "限额拆分规则")
    private String splitRuleName;

    /** 拆分规则顺序代码 */
    @Excel(name = "拆分规则顺序代码")
    private Long splitSequence;

    /** 拆分规则顺序 */
    @Excel(name = "拆分规则顺序")
    private String splitSequenceName;

    /** 拆分行数代码 */
    @Excel(name = "拆分行数代码")
    private Long splitRows;

    /** 拆分行数 */
    @Excel(name = "拆分行数")
    private String splitRowsName;

    /** 最大行数设为 */
    @Excel(name = "最大行数设为")
    private Long maxRows;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSplitId(String splitId)
    {
        this.splitId = splitId;
    }

    public String getSplitId()
    {
        return splitId;
    }
    public void setCustId(String custId)
    {
        this.custId = custId;
    }

    public String getCustId()
    {
        return custId;
    }
    public void setSiteCode(String siteCode)
    {
        this.siteCode = siteCode;
    }

    public String getSiteCode()
    {
        return siteCode;
    }
    public void setSiteName(String siteName)
    {
        this.siteName = siteName;
    }

    public String getSiteName()
    {
        return siteName;
    }
    public void setBillType(Long billType)
    {
        this.billType = billType;
    }

    public Long getBillType()
    {
        return billType;
    }
    public void setBillTypeName(String billTypeName)
    {
        this.billTypeName = billTypeName;
    }

    public String getBillTypeName()
    {
        return billTypeName;
    }
    public void setSplitType(Long splitType)
    {
        this.splitType = splitType;
    }

    public Long getSplitType()
    {
        return splitType;
    }
    public void setSplitTypeName(String splitTypeName)
    {
        this.splitTypeName = splitTypeName;
    }

    public String getSplitTypeName()
    {
        return splitTypeName;
    }
    public void setGeneralTicket(Long generalTicket)
    {
        this.generalTicket = generalTicket;
    }

    public Long getGeneralTicket()
    {
        return generalTicket;
    }
    public void setSpecialTicket(Long specialTicket)
    {
        this.specialTicket = specialTicket;
    }

    public Long getSpecialTicket()
    {
        return specialTicket;
    }
    public void setElectricTicket(Long electricTicket)
    {
        this.electricTicket = electricTicket;
    }

    public Long getElectricTicket()
    {
        return electricTicket;
    }
    public void setEngineerTicket(Long engineerTicket)
    {
        this.engineerTicket = engineerTicket;
    }

    public Long getEngineerTicket()
    {
        return engineerTicket;
    }
    public void setSplitRule(Long splitRule)
    {
        this.splitRule = splitRule;
    }

    public Long getSplitRule()
    {
        return splitRule;
    }
    public void setSplitRuleName(String splitRuleName)
    {
        this.splitRuleName = splitRuleName;
    }

    public String getSplitRuleName()
    {
        return splitRuleName;
    }
    public void setSplitSequence(Long splitSequence)
    {
        this.splitSequence = splitSequence;
    }

    public Long getSplitSequence()
    {
        return splitSequence;
    }
    public void setSplitSequenceName(String splitSequenceName)
    {
        this.splitSequenceName = splitSequenceName;
    }

    public String getSplitSequenceName()
    {
        return splitSequenceName;
    }
    public void setSplitRows(Long splitRows)
    {
        this.splitRows = splitRows;
    }

    public Long getSplitRows()
    {
        return splitRows;
    }
    public void setSplitRowsName(String splitRowsName)
    {
        this.splitRowsName = splitRowsName;
    }

    public String getSplitRowsName()
    {
        return splitRowsName;
    }
    public void setMaxRows(Long maxRows)
    {
        this.maxRows = maxRows;
    }

    public Long getMaxRows()
    {
        return maxRows;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("splitId", getSplitId())
            .append("custId", getCustId())
            .append("siteCode", getSiteCode())
            .append("siteName", getSiteName())
            .append("billType", getBillType())
            .append("billTypeName", getBillTypeName())
            .append("splitType", getSplitType())
            .append("splitTypeName", getSplitTypeName())
            .append("generalTicket", getGeneralTicket())
            .append("specialTicket", getSpecialTicket())
            .append("electricTicket", getElectricTicket())
            .append("engineerTicket", getEngineerTicket())
            .append("splitRule", getSplitRule())
            .append("splitRuleName", getSplitRuleName())
            .append("splitSequence", getSplitSequence())
            .append("splitSequenceName", getSplitSequenceName())
            .append("splitRows", getSplitRows())
            .append("splitRowsName", getSplitRowsName())
            .append("maxRows", getMaxRows())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
